/*
 * Created on 2004-5-17
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package jaoso.framework.security;

import java.util.Collection;
import java.util.Map;

/**
 * @author Administrator To change the template for this generated type comment
 *         go to Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and
 *         Comments
 */
public interface Acl
{
    /**
     * DOCUMENT ME!
     * 
     * @param url
     *            DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    boolean isProtectedResource(String url);

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    Collection getProtectedResources();

    /**
     * @param map
     *            Protected Resources Map
     */
    void setProtectedResourcesMap(Map map);

    /**
     * DOCUMENT ME!
     * 
     * @param url
     *            DOCUMENT ME!
     * @param group
     *            DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    boolean hasRight(String url, String group);
}